package com.healthcloud.service.losewisdom;

import com.healthcloud.dto.req.losewisdom.LoseWisdomListReq;
import com.healthcloud.entity.losewisdom.LoseWisdomScreeningPhqEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;

/**
 * 失智PHQ-9筛查表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2020-10-26 16:08:18
 */
public interface LoseWisdomScreeningPhqService {

	/**
	 * 获取详情
	 * @param id
	 * @return
	 */
	LoseWisdomScreeningPhqEntity queryObject(Integer id);

	/**
	 * 获取列表
	 * @param bean
	 * @param pageParam
	 * @return
	 */
    List<LoseWisdomScreeningPhqEntity> queryList(LoseWisdomListReq bean, PageParam pageParam);

	/**
	 * 获取总数
	 * @param bean
	 * @return
	 */
	int queryTotal(LoseWisdomListReq bean);

	/**
	 * 新增信息
	 * @param loseWisdomScreeningPhq
	 */
	void save(LoseWisdomScreeningPhqEntity loseWisdomScreeningPhq);

	/**
	 * 修改信息
	 * @param loseWisdomScreeningPhq
	 */
	void update(LoseWisdomScreeningPhqEntity loseWisdomScreeningPhq);

	/**
	 * 删除信息
	 * @param id
	 */
	void delete(Integer id);

	/**
	 * 批量删除信息
	 * @param ids
	 */
	void deleteBatch(Integer[] ids);
}
